﻿using System;
using System.Collections.Generic;
using System.Text;

namespace _3_12学习
{
    class boss : enemy
    {
        
       private int damge;
        public boss(int damge,int hp,int mp):base(mp,hp)
        {
            this.damge = damge;
            
        }

        public override void attact()
        {
            Console.WriteLine("boss 攻击");


        }
        public override void print()
        {
            base.print();
            Console.WriteLine("伤害：" + damge);
        }
    }
}
